Read from the store if the filename reported by losetup has been truncated (the
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sat, 3 Dec 2005 00:51:36 +0000 (00:51 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sat, 3 Dec 2005 00:51:36 +0000 (00:51 +0000)
commitffa06621c6b2b9a1c186a919154eb8d3ec3d453d
tree406dc025d831fa530570b02659dce6151a82222b
parent638a6fa6a06445602f82140f795869f91759d30b
Read from the store if the filename reported by losetup has been truncated (the
loop driver stores only the first 64 chars of the filename).  In this case, we
need to read through the store until we find the domain using the device, and
read the configured filename from there instead.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/examples/block